export interface IdataSet<T> {
  dimensions: Array<keyof T>;
  source: Array<T>;
}

export interface IChartData<T> {
  title: string;
  dataset?: IdataSet<T>;
}
interface DateLine {
  [str: string]: number | string;
}

export type IDateLineChart = IChartData<DateLine>;

export type IDatePieChart = IChartData<DateLine>;

export type IGaugeChart = IChartData<DateLine>;
